 // So waitNumEnemiesAlive command works
0 startAttacking


	// Centipede from left going right at a 45 degree angle
setSpeed 0.45
setAngle 45
setPath bonusCentipedeZigZagAngle
setLocation left 10
6 createSimple bonusInsectgreen 1 1
0 repeat -1 times 8


	// Create dual centipedes from the top of the screen going down
0 waitNumEnemiesAlive 0
6 create bonusInsectYellow -20 top bonusCentipedeZigZagSlow 270 0.35 1 1
0 create bonusInsectRed 20 top bonusCentipedeZigZagSlow invert 270 0.35 1 1
6 create bonusInsectYellow -20 top bonusCentipedeZigZagSlow 270 0.35 1 1
0 create bonusInsectRed 20 top bonusCentipedeZigZagSlow invert 270 0.35 1 1
6 create bonusInsectYellow -20 top bonusCentipedeZigZagSlow 270 0.35 1 1
0 create bonusInsectRed 20 top bonusCentipedeZigZagSlow invert 270 0.35 1 1
6 create bonusInsectYellow -20 top bonusCentipedeZigZagSlow 270 0.35 1 1
0 create bonusInsectRed 20 top bonusCentipedeZigZagSlow invert 270 0.35 1 1

	// Centipede from left going right at a 45 degree angle
0 waitNumEnemiesAlive 0
setSpeed 0.45
setAngle 135
setPath bonusCentipedeZigZagAngle invert
setLocation right 10
6 createSimple bonusInsectgreen 1 1
0 repeat -1 times 8


	// TWO centipedes doing an inverse 45 degree thing at the same time
0 waitNumEnemiesAlive 0
6 create bonusInsectRed right -20 bonusCentipedeZigZagAngle 225 0.45 1 1
0 create bonusInsectYellow left -20 bonusCentipedeZigZagAngle invert 315 0.45 1 1
6 create bonusInsectRed right -20 bonusCentipedeZigZagAngle 225 0.45 1 1
0 create bonusInsectYellow left -20 bonusCentipedeZigZagAngle invert 315 0.45 1 1
6 create bonusInsectRed right -20 bonusCentipedeZigZagAngle 225 0.45 1 1
0 create bonusInsectYellow left -20 bonusCentipedeZigZagAngle invert 315 0.45 1 1
6 create bonusInsectRed right -20 bonusCentipedeZigZagAngle 225 0.45 1 1
0 create bonusInsectYellow left -20 bonusCentipedeZigZagAngle invert 315 0.45 1 1
6 create bonusInsectRed right -20 bonusCentipedeZigZagAngle 225 0.45 1 1
0 create bonusInsectYellow left -20 bonusCentipedeZigZagAngle invert 315 0.45 1 1
6 create bonusInsectRed right -20 bonusCentipedeZigZagAngle 225 0.45 1 1
0 create bonusInsectYellow left -20 bonusCentipedeZigZagAngle invert 315 0.45 1 1


